package com.rescue.service;

import com.rescue.forum.entity.ForumBoard;
import com.rescue.forum.vo.BoardVO;
import com.rescue.forum.vo.UserAllBoardVO;

import java.util.List;

public interface BoardService {
    List<BoardVO> getPBoard();

    List<BoardVO> getBoardByP(Integer boardId);

    void save(ForumBoard forumBoard);

    void deleteByBoardId(Integer boardId);

    void update(ForumBoard forumBoard);

    ForumBoard getById(Integer id);

    List<UserAllBoardVO> userLoadBoard();
}
